
#ifndef _PROPERTYWIDGET_H_
#define _PROPERTYWIDGET_H_

#include "WidgetsApi.hpp"
#include "../OLCore/AbstractWidget.hpp"
#include "../OLCore/AbstractTableWidget.hpp"
#include <QTreeWidgetItem>

namespace NSExchange {
    class TreeDataItem;
}

namespace NSWidgets {

    class PropertyTable;

    class WIDGETSAPI PropertyWidget :
        public NSCore::AbstractWidget
    {
        Q_OBJECT
    protected:
        PropertyTable* m_property{};

    private:


    public:
        PropertyWidget(QWidget* w = nullptr);
        ~PropertyWidget();

    public:
        PropertyTable* getPropertyWidget() { return m_property; }
    public:
        virtual inline QString className() override { return "PropertyWidget"; };

    };
        
}

#endif
